package JsonInterface.test;

import org.joda.time.DateTime;

public class T3 {
    public static void main(String[] args) {
        DateTime dateTime = new DateTime();
        int year = dateTime.getYear();
        int monthOfYear = dateTime.getMonthOfYear();
        int mon1 =  9;
        String s1 = year  + "-01-01";
        String s2 = (year+1) + "-0" + mon1 + "-01";
        System.out.println("今年：" + s1);
        System.out.println("今年："+ s2);
        System.out.println(year);
        System.out.println(monthOfYear);
    }
}
